package com.jr.entry;

import java.util.Date;

public class Book {

    private Integer bookId;
    private String bookName;
    private String bookAuthor;
    private String bookPublish;
    private Integer bookPage;
    private Double bookPrice;
    private String createDate;

    public Book() {
    }

    public Book(Integer bookId, String bookName, String bookAuthor, String bookPublish, Integer bookPage, Double bookPrice, String createDate) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
        this.bookPublish = bookPublish;
        this.bookPage = bookPage;
        this.bookPrice = bookPrice;
        this.createDate = createDate;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Book(String bookName, String bookAuthor, String bookPublish, Integer bookPage, Double bookPrice, String createDate) {
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
        this.bookPublish = bookPublish;
        this.bookPage = bookPage;
        this.bookPrice = bookPrice;
        this.createDate = createDate;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookAuthor() {
        return bookAuthor;
    }

    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }

    public String getBookPublish() {
        return bookPublish;
    }

    public void setBookPublish(String bookPublish) {
        this.bookPublish = bookPublish;
    }

    public Integer getBookPage() {
        return bookPage;
    }

    public void setBookPage(Integer bookPage) {
        this.bookPage = bookPage;
    }

    public Double getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(Double bookPrice) {
        this.bookPrice = bookPrice;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookId=" + bookId +
                ", bookName='" + bookName + '\'' +
                ", bookAuthor='" + bookAuthor + '\'' +
                ", bookPublish='" + bookPublish + '\'' +
                ", bookPage=" + bookPage +
                ", bookPrice=" + bookPrice +
                ", createDate=" + createDate +
                '}';
    }
}
